CustomerOmsStoreDelete

删除用户标记

根据关键信息来删除或者删除整个业务的标记信息,只能删除单条记录

请求地址

POST
http://OmsAddress/app/newoms.php/webservice/customer-oms-store/delete?cmd=10019&ip-type=webservicerest&access-token=AccessTokenVal

POST请求参数说明

参数 格式 是否必填 说明
app_id 整型 业务ID
key_binary string

Data参数

使用json格式表示记录相关信息,示例如下:

{
    "app_id": 2,
    "key_binary": "some key word"
}

返回语法

请求示例

通过 curl 方法发起请求

命令中的参数请参考本页中的“POST请求参数说明”,access-token的获取方法详见:获取access-token

curl -H "Content-type: application/json" -X "POST" -d '{
    "app_id": 2,
    "key_binary": "some key word"
}' http://omsaddress/app/newoms.php/webservice/customer-oms-store/delete?cmd=10019&ip-type=webservicerest&access-token=<access-token>

返回示例

成功返回示例

http请求的Status=200

{
    "code": 0,
    "data": "",
    "msg": "delete success"
}

错误返回

http请求的Status!=200

{
    "name": "Unauthorized",
    "message": "You are requesting with an invalid credential.",
    "code": 0,
    "status": 401,
    "type": "yii\\web UnauthorizedHttpException"
}
{
    "source_ip": "ip:10.29.89.51 not in whitelist"
}

results matching ""

    No results matching ""